//package com.test.service;
//
//import com.test.api.UserService;
//import com.test.dao.UserDao;
//import com.test.model.User;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.context.ApplicationContext;
//import org.springframework.context.support.ClassPathXmlApplicationContext;
//import org.springframework.stereotype.Service;
//
//import javax.annotation.Resource;
//import java.util.List;
//import java.util.Map;
//
///**
// * Created by HBZ on 2017/5/3.
// */
//@Deprecated
//@Service
//public class UserServiceImpl1 implements UserService{
////    public List<Map<String,Object>> findUser(){
////        List<Map<String,Object>> list=new ArrayList<Map<String, Object>>();
////        return list;
////    }
//    @Autowired
////    @Resource
//    private UserDao userDao;
//
//    public String findUser(){
//
//        return userDao.findUser();
//    }
//
//    public  List<Map<String,Object>> findList(){
//
//        return userDao.findList();
//    }
//
//    public void save(User user){
//        userDao.save(user);
//    }
//    public static void  main(String [] args){
//        ApplicationContext ctx=new ClassPathXmlApplicationContext("spring/spring-aop.xml");
//        Test test=ctx.getBean("test",Test.class);
//        test.say();
//    }
//}
